import request from '@/common/request.js'

// 获取歌曲详情
const detail = (data) => {
	return request({
		url: "/song/detail",
		method: "GET",
		data
	})
}

//获取歌词
const lyric = (data) => {
	return request({
		url: "/lyric",
		method: "GET",
		data
	})
}

//获取音乐 url
const songUrl = (data) => {
	return request({
		url: "/song/url",
		method: "GET",
		data
	})
}

export {
	detail,
	lyric,
	songUrl
}
